#include <stdio.h>
#include <string.h>

// strlen | strcpy | strcat 函数

int main(){

    char src[] = "hello", dest[50] = "world";
    printf("src长度:%ld\n", strlen(src));
    printf("dest长度：%ld\n", strlen(dest));

    strcpy(src, "world");
    printf("src = %s\n", src);

    strcat(dest, src);
    printf("dest=%s\n", dest);




    return 0;
}